package com.jmcgg.freesky.common.util;

import java.util.Vector;

/**
 * Title: FreeSky Common Java Library <br>
 * Description: FreeSky Common Java Library <br>
 * Copyright: Copyright (c) 2005~2009 www.afss.cn <br>
 * Company: Amei's FreeSky Studio <br>
 * 
 * @author <b>Jacky Chou</b> (AFSS [Amei's FreeSky Studio])
 * @version 1.3.0, 2009-02-08, Optimize the getXXX method and remove unnecessary
 *          fields.<br>
 *          1.2.1, 2008-08-05, Clean and optimize the source code. <br>
 *          1.2.0, 2008-02-23, Upgrade freesky.jar to 1.2.0 with Struts 2 <br>
 *          1.0.0, 2006-05-30, Initial Version
 */
public class CountryBean extends FreeskyBean {
	public CountryBean() {
	}

	public String[] allCountryRegionEn = { "Afghanistan", "Akrotiri",
			"Albania", "Algeria", "American Samoa", "Andorra", "Angola",
			"Anguilla", "Antarctica", "Antigua and Barbuda", "Argentina",
			"Armenia", "Aruba", "Ashmore and Cartier Islands", "Australia",
			"Austria", "Azerbaijan", "Bahrain", "Baker Island", "Bangladesh",
			"Barbados", "Bassas da India", "Belarus", "Belgium", "Belize",
			"Benin", "Bermuda", "Bhutan", "Bolivia", "Bosnia and Herzegovina",
			"Botswana", "Bouvet Island", "Brazil",
			"British Indian Ocean Territory", "British Virgin Islands",
			"Brunei", "Bulgaria", "Burkina Faso", "Burma", "Burundi",
			"Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands",
			"Central African Republic", "Chad", "Chile", "China",
			"Christmas Island", "Clipperton Island", "Cocos (Keeling) Islands",
			"Colombia", "Comoros", "Cook Islands", "Coral Sea Islands",
			"Costa Rica", "Cote d Ivoire", "Croatia", "Cuba", "Cyprus",
			"Czech Republic", "Democratic Republic of the Congo", "Denmark",
			"Dhekelia", "Djibouti", "Dominica", "Dominican Republic",
			"East Timor", "Ecuador", "Egypt", "El Salvador",
			"Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia",
			"Europa Island", "European Union", "Falkland Islands",
			"Faroe Islands", "Fiji", "Finland", "France", "French Guiana",
			"French Polynesia", "French Southern and Antarctic Lands", "Gabon",
			"Gaza Strip", "Georgia", "Germany", "Ghana", "Gibraltar",
			"Glorioso Islands", "Greece", "Greenland", "Grenada", "Guadeloupe",
			"Guam", "Guatemala", "Guernsey", "Guinea", "Guinea-Bissau",
			"Guyana", "Haiti", "Heard Island and McDonald Islands", "Holy See",
			"Honduras", "Hong Kong", "Howland Island", "Hungary", "Iceland",
			"India", "Indonesia", "Iran", "Iraq", "Ireland", "Isle of Man",
			"Israel", "Italy", "Jamaica", "Jan Mayen", "Japan",
			"Jarvis Island", "Jersey", "Johnston Atoll", "Jordan",
			"uan de Nova Island", "Kazakhstan", "Kenya", "Kingman Reef",
			"Kiribati", "Korea, North", "Korea, South", "Kuwait", "Kyrgyzstan",
			"Laos", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya",
			"Liechtenstein", "Lithuania", "Luxembourg", "Macau", "Macedonia",
			"Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta",
			"Marshall Islands", "Martinique", "Mauritania", "Mauritius",
			"Mayotte", "Mexico", "Micronesia", "Midway Islands", "Moldova",
			"Monaco", "Mongolia", "Montserrat", "Morocco", "Mozambique",
			"Namibia", "Nauru", "Navassa Island", "Nepal", "Netherlands",
			"Netherlands Antilles", "New Caledonia", "New Zealand",
			"Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island",
			"Northern Mariana Islands", "Norway", "Oman", "Pakistan", "Palau",
			"Palmyra Atoll", "Panama", "Papua New Guinea", "Paracel Islands",
			"Paraguay", "Peru", "Philippines", "Pitcairn Islands", "Poland",
			"Portugal", "Puerto Rico", "Qatar", "Republic of the Congo",
			"Reunion", "Romania", "Russia", "Rwanda", "Saint Helena",
			"Saint Kitts and Nevis", "Saint Lucia",
			"Saint Pierre and Miquelon", "Saint Vincent and the Grenadines",
			"Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia",
			"Senegal", "Serbia and Montenegro", "Seychelles", "Sierra Leone",
			"Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia",
			"South Africa", "South Georgia", "Spain", "Spratly Islands",
			"Sri Lanka", "Sudan", "Suriname", "Svalbard", "Swaziland",
			"Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan",
			"Tanzania", "Thailand", "The Bahamas", "The Gambia", "Togo",
			"Tokelau", "Tonga", "Trinidad and Tobago", "Tromelin Island",
			"Tunisia", "Turkey", "Turkmenistan", "Turks and Caicos Islands",
			"Tuvalu", "Uganda", "Ukraine", "United Arab Emirates",
			"United Kingdom", "United States of America", "Uruguay",
			"Uzbekistan", "Vanuatu", "Venezuela", "Vietnam", "Virgin Islands",
			"Wake Island", "Wallis and Futuna", "West Bank", "Western Sahara",
			"Yemen", "Zambia", "Zimbabwe" };
	private java.util.Collection<LabelValueBean> allCountryRegionsEn;

	public static void main(String[] args) {
		CountryBean country = new CountryBean();
		for (int i = 0; i < country.allCountryRegionEn.length; i++) {
			System.out.println("entries.add(new LabelValueBean(\""
					+ country.allCountryRegionEn[i] + "\",\""
					+ country.allCountryRegionEn[i] + "\"));");
		}
	}

	public java.util.Collection<LabelValueBean> getAllCountryRegionsEn() {
		if (this.allCountryRegionsEn == null) {
			Vector<LabelValueBean> entries = new Vector<LabelValueBean>();
			for (int i = 0; i < this.allCountryRegionEn.length; i++) {
				entries.add(new LabelValueBean(allCountryRegionEn[i],
						allCountryRegionEn[i]));
			}
			this.allCountryRegionsEn = entries;
		}
		return allCountryRegionsEn;
	}

	public void setAllCountryRegionsEn(
			java.util.Collection<LabelValueBean> allCountryRegionsEn) {
		this.allCountryRegionsEn = allCountryRegionsEn;
	}
}
